home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Looking for a cross platform RANDOM number generator
- Date: Sat, 27 Jan 96 14:54:09 GMT
- Organization: none
- Message-ID: <822754449snz@genesis.demon.co.uk>
- References: <4ecv3q$62u@sunset.backbone.olemiss.edu>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4ecv3q$62u@sunset.backbone.olemiss.edu>
- mgchen@cotton.vislab.olemiss.edu "Duncan Chen" writes:
-
- >
- >Hi,
- >
- >Can anyone help me to find a cross platform random number generator?
-
- rand()/srand() come with every ANSI C standard library. If they don't do
- what you want you need to specify your requirements a little better.
-
- The FAQ discusses RNGs - you can FTP it frpm rtfm.mit.edu under
- /pub/usenet/comp.lang.c
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-